question: @ Override public boolean has ( String pattern ) { return has ( Pattern . compile ( pattern . startsWith ( "^" ) ? pattern : "^" + pattern , Pattern . DOTALL | Pattern . MULTILINE ) ) ; }
target:  This method will determine whether the indicated pattern can be found at this point in the document or not