def _check_object_exists(self):
        """Raise a KeyError if the scheduling object doesnt exist.

        Raise:
            KeyError, if the object doesnt exist in the database.

        """
        if not DB.get_keys(self.key):
            raise KeyError("Object with key '{}' not exist".format(self.key))