cli/streamingphish/streamingphish/database.py
def verify_classifier_existence(self, classifier):
        """
        Classifier candidate to be saved in config - lets make sure it's available in the DB first.

        Args:
            classifier (string): name of new classifier to be activated.

        Returns:
            True for present, False if not present.
        """
        if classifier not in self.available_classifiers():
            return False
        return True

        Classifier candidate to be saved in config - lets make sure it's available in the DB first.

        Args:
            classifier (string): name of new classifier to be activated.

        Returns:
            True for present, False if not present.
        
Classifier candidate to be saved in config - lets make sure it's available in the DB first.
Classifier candidate to be saved in config - lets make sure it ' s available in the DB first .
def verify_classifier_existence(self, classifier):
        if classifier not in self.available_classifiers():
            return False
        return True
def verify_classifier_existence ( self , classifier ) : if classifier not in self . available_classifiers ( ) : return False return True
Classifier candidate to be saved in config - lets make sure it's available in the DB first.
Classifier candidate to be saved in config - lets make sure it ' s available in the DB first .
"""
        Classifier candidate to be saved in config - lets make sure it's available in the DB first.

        Args:
            classifier (string): name of new classifier to be activated.

        Returns:
            True for present, False if not present.
        """
True for present, False if not present.
True for present False if not present .
self
classifier
name of new classifier to be activated.
name of new classifier to be activated .