@Deprecated(forRemoval = true) // Remove in or after Openfire 5.1.0.
    boolean canProcess(Packet packet) {
        return true;
    }
Returns true if the specified packet can be delivered to the entity. Subclasses will use different
criterias to determine of processing is allowed or not. For instance, client sessions will use
privacy lists while outgoing server sessions will always allow this action.

@param packet the packet to analyze if it must be blocked.
@return false if the specified packet must be blocked.
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalSession.java