def alias_exists(self, db, aliases):
        results = list(db.servers.find({'aliases' : { '$in' : aliases}}))
        if len(results) > 0:
            logging.info('Detected at least one alias.')
            ret_val = []
            [ret_val.extend(result['aliases']) for result in results]
            return ret_val
Specifies the function called when the apply or create button is clicked
dataset/ETHPy150Open urbanairship/aerostat/aerostat/registrar.py/Registrar.alias_exists--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/amTools/rigging/hipConstraint.py/doOptions