private function userHasRequestedARegistrationOnCollection(\collection $collection, $userData)
    {
        if (null === $userRegistration = igorw\get_in($userData, [$collection->get_sbas_id(), $collection->get_base_id()])) {
            return false;
        }

        return !is_null($userRegistration['active']);
    }
private function userHasRequestedARegistrationOnCollection(\collection $collection, $userData)
    {
        if (null === $userRegistration = igorw\get_in($userData, [$collection->get_sbas_id(), $collection->get_base_id()])) {
            return false;
        }

        return !is_null($userRegistration['active']);
    }
private function userHasRequestedARegistrationOnCollection ( \ collection $ collection , $ userData ) { if ( null === $ userRegistration = igorw \ get_in ( $ userData , [ $ collection -> get_sbas_id ( ) , $ collection -> get_base_id ( ) ] ) ) { return false ; } return ! is_null ( $ userRegistration [ 'active' ] ) ; }
Tells whether user has ever requested a registration on collection or not.

@param \collection $collection
@param             $userData

@return boolean
Tells whether user has ever requested a registration on collection or not .