code: public boolean implies(final String topic, final String[] splitTopic, final QOS qoS, final ACTIVITY activity) {
  
          if (topic == null || qoS == null || activity == null) {
              return false;
          }
  
          final boolean activityImplies = getActivityImplicity(activity);
  
          if (!activityImplies) {
              return false;
          }
  
          final boolean qosImplies = getQosImplicity(qoS);
  
          if (!qosImplies) {
              return false;
          }
  
          return topicImplicity(topic, splitTopic);
  
      }
docs: Checks the MqttTopicPermission implies a given topic, qos and activity combination
  
  @param topic    the topic to check
  @param qoS      the QoS to check
  @param activity the activity to check
  @return <code>true</code> if the given topic, qos and activity combination is implied