original_string: public function isLocalElement($element) {
          $uri = $element->namespaceURI;
          if (empty($uri)) {
              return false;
          }
  
          return isset(static::$local_ns[$uri]);
      }
code: public function isLocalElement($element) {
          $uri = $element->namespaceURI;
          if (empty($uri)) {
              return false;
          }
  
          return isset(static::$local_ns[$uri]);
      }
code_tokens: public function isLocalElement ( $ element ) { $ uri = $ element -> namespaceURI ; if ( empty ( $ uri ) ) { return false ; } return isset ( static :: $ local_ns [ $ uri ] ) ; }
docstring: Is an element local?
  
  @param mixed $element
  An element that implement \DOMNode.
  
  @return bool True if local and false otherwise.
docstring_tokens: Is an element local?