original_string: public function checkPageSubjectInFirstParagraph() {
          if ($this->checkPageSubjectDefined()) {
              $first_paragraph = $this->owner->dbObject('Content')->FirstParagraph();
  
              if (trim($first_paragraph != '')) {
                  if (preg_match('/' . preg_quote($this->owner->SEOPageSubject, '/') . '/i', $first_paragraph)) {
                      return true;
                  }
                  else {
                      return false;
                  }
              }
          }
  
          return false;
      }
code: public function checkPageSubjectInFirstParagraph() {
          if ($this->checkPageSubjectDefined()) {
              $first_paragraph = $this->owner->dbObject('Content')->FirstParagraph();
  
              if (trim($first_paragraph != '')) {
                  if (preg_match('/' . preg_quote($this->owner->SEOPageSubject, '/') . '/i', $first_paragraph)) {
                      return true;
                  }
                  else {
                      return false;
                  }
              }
          }
  
          return false;
      }
code_tokens: public function checkPageSubjectInFirstParagraph ( ) { if ( $ this -> checkPageSubjectDefined ( ) ) { $ first_paragraph = $ this -> owner -> dbObject ( 'Content' ) -> FirstParagraph ( ) ; if ( trim ( $ first_paragraph != '' ) ) { if ( preg_match ( '/' . preg_quote ( $ this -> owner -> SEOPageSubject , '/' ) . '/i' , $ first_paragraph ) ) { return true ; } else { return false ; } } } return false ; }
docstring: checkPageSubjectInFirstParagraph.
  Checks if defined PageSubject is present in the Page Content's First Paragraph
  
  @param none
  @return boolean
docstring_tokens: checkPageSubjectInFirstParagraph . Checks if defined PageSubject is present in the Page Content s First Paragraph