Deletes an option if exists

def delete(self, option):
        """
        Deletes an option if exists
        """
        if self.config is not None:
            if option in self.config:
                del self.config[option]