public function hasAllProfiles($profiles) : bool
    {
        $profiles = (array) $profiles;

        return count(array_intersect($this->profiles->pluck('code')->toArray(), $profiles)) == count($profiles);
    }