def find_license_by_id(self, license_id):
        query = (
                'SELECT license_id, license_name, pii_def, '
                'pii_anonymized, pii_removed '
                'FROM %s.%s where license_id= %s;')
        params = (
                AsIs(settings.LICENSE_SCHEMA),
                AsIs(settings.LICENSE_TABLE),
                license_id)

        res = self.execute_sql(query, params)

        # return None if the list is empty
        if not res['tuples']:
            return None

        # else, return the policy
        return res['tuples'][0]