def isInSubdir(filename, *subdirs):
    if (filename.count('/') <= 1):
        return True
    for subdir in subdirs:
        if filename.startswith((('./' + subdir) + '/')):
            return True
    return False
def isInSubdir(filename, *subdirs):
    if (filename.count('/') <= 1):
        return True
    for subdir in subdirs:
        if filename.startswith((('./' + subdir) + '/')):
            return True
    return False