public boolean isAllowed(final String method){
  checkUsed();
  return methodsAllowed.contains(method);
}

public boolean isAllowed ( final String method ) { checkUsed ( ) ; return methodsAllowed . contains ( method ) ; }
is the specified method allowed ?
