boolean () { if (myDynamicStatus) { Object function = myOwner.getClientProperty(STATUS_VISIBLE_FUNCTION); if (function instanceof Predicate) { return ((Predicate<JTextComponent>)function).test(myOwner); } } return myOwner.getText().equals(myStatusTriggerText) && !myOwner.isFocusOwner(); }