@staticmethod
def _return_list_if_str(event):
    """
        If variable is a string returns a list containing variable.
        Else returns variable itself.
        """
    if isinstance(event, str):
        return [event]
    else:
        return event
