question: public boolean hasPragmaDirective ( String directive ) { String existingDirectives = getRequestHeader ( PRAGMA_HEADER ) ; if ( existingDirectives != null && existingDirectives . contains ( directive ) ) { return true ; } return false ; }
target:  Checks if a directive is present. Lower case strings must be used.