/**
  * Checks if the line containing the key that was found from a prior find
  * method call is commented or uncommented.
  *
  * @return boolean Returns true if the given line is commented out.
  */
 function is_commented()
 {
     if (false === $this->last_index) {
         return false;
     }
     $line = new GString($this->block[$this->last_index]);
     $comment = new GString($this->comment_chars);
     return $line->trim()->startsWith($comment->trim()->__toString()) !== 0;
 }