protected function _checkRoles($requestedRole, $roles) {
		if (is_string($roles)) {
			$roles = [$roles];
		}
		if (is_string($requestedRole)) {
			$requestedRole = [$requestedRole];
		}
		if (!is_array($requestedRole)) {
			throw new InvalidArgumentException('The requested role is not a string or an array!');
		}
		$result = array_intersect($roles, $requestedRole);

		return (count($result) > 0);
	}