import re


def get_sleep_awake_folder(s):
    """Get the if animal is sleeping from folder"""
    temp = re.split("_|\.|\ |\/", s.lower())
    if "sleep" in temp or "sleeping" in temp:
        return 1
    return 0