public function isCompatibleWith(HasRolesInterface $hasRoles)
    {
        $roles = $hasRoles->getRoles();
        $filled = array_intersect($this->roles, $roles);

        return is_null($roles) || count($filled) === count($roles);
    }