original_string: public function is_configured() {
          if ($this->get_config('runningmethod') === 'commandline') {
              return (bool)$this->get_config('pathtoclam');
          } else if ($this->get_config('runningmethod') === 'unixsocket') {
              return (bool)$this->get_config('pathtounixsocket');
          }
          return false;
      }
code: public function is_configured() {
          if ($this->get_config('runningmethod') === 'commandline') {
              return (bool)$this->get_config('pathtoclam');
          } else if ($this->get_config('runningmethod') === 'unixsocket') {
              return (bool)$this->get_config('pathtounixsocket');
          }
          return false;
      }
code_tokens: public function is_configured ( ) { if ( $ this -> get_config ( 'runningmethod' ) === 'commandline' ) { return ( bool ) $ this -> get_config ( 'pathtoclam' ) ; } else if ( $ this -> get_config ( 'runningmethod' ) === 'unixsocket' ) { return ( bool ) $ this -> get_config ( 'pathtounixsocket' ) ; } return false ; }
docstring: Are the necessary antivirus settings configured?
  
  @return bool True if all necessary config settings been entered
docstring_tokens: Are the necessary antivirus settings configured?