public function hasRequirement(string $key) : bool { return \array_key_exists($key, $this->requirements); }