original_string: public static function exists($complementID)
      {
          $type = self::getType();
  
          return array_key_exists(
              $complementID,
              self::$instances[App::getCurrentID()][$type]
          );
      }
code: public static function exists($complementID)
      {
          $type = self::getType();
  
          return array_key_exists(
              $complementID,
              self::$instances[App::getCurrentID()][$type]
          );
      }
code_tokens: public static function exists ( $ complementID ) { $ type = self :: getType ( ) ; return array_key_exists ( $ complementID , self :: $ instances [ App :: getCurrentID ( ) ] [ $ type ] ) ; }
docstring: Check if complement exists.
  
  @param string $complementID → complement id
  
  @uses \Eliasis\Framework\App::getCurrentID()
  @uses \Eliasis\Complement\ComplementHandler::getType()
  
  @return bool
docstring_tokens: Check if complement exists .