src/Complement.php
public static function exists($complementID)
    {
        $type = self::getType();

        return array_key_exists(
            $complementID,
            self::$instances[App::getCurrentID()][$type]
        );
    }
public static function exists($complementID)
    {
        $type = self::getType();

        return array_key_exists(
            $complementID,
            self::$instances[App::getCurrentID()][$type]
        );
    }
public static function exists ( $ complementID ) { $ type = self :: getType ( ) ; return array_key_exists ( $ complementID , self :: $ instances [ App :: getCurrentID ( ) ] [ $ type ] ) ; }
Check if complement exists.

@param string $complementID → complement id

@uses \Eliasis\Framework\App::getCurrentID()
@uses \Eliasis\Complement\ComplementHandler::getType()

@return bool
Check if complement exists .