BaseModel::has PHP Method

has() public static method

Returns true if the service id is defined.
public static has ( string $reference ) : boolean
$reference string The service id
return boolean true if the service id is defined, false otherwise
    public static function has($reference)
    {
        return self::$container->has($reference);
    }