original_string: public function has_data($data=null)
    {
      if ( \is_null($data) ){
        $data = $this->data;
      }
      return ( \is_array($data) && (\count($data) > 0) ) ? 1 : false;
    }
code: public function has_data($data=null)
    {
      if ( \is_null($data) ){
        $data = $this->data;
      }
      return ( \is_array($data) && (\count($data) > 0) ) ? 1 : false;
    }
code_tokens: public function has_data ( $ data = null ) { if ( \ is_null ( $ data ) ) { $ data = $ this -> data ; } return ( \ is_array ( $ data ) && ( \ count ( $ data ) > 0 ) ) ? 1 : false ; }
docstring: Checks if data exists
  
  @return bool
docstring_tokens: Checks if data exists