boolean containsKeyword(String keyword) {
        if (getPayloadXML() == null || keyword == null) {
            return true;
        }
        return payloadXML.contains(keyword);
    }
Returns true if payload contains the specified keyword. If the item has no payload
or keyword is {@code null} then return true.

@param keyword the keyword to look for in the payload.
@return true if payload contains the specified keyword.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/PublishedItem.java