def is_directory(fs,path):
    file = getpath(fs,path)
    if file[A_TYPE] == T_DIR:
        return True
    else:
        return False
Returns whether or not the file at 'path' is a directory
dataset/ETHPy150Open cowrie/cowrie/utils/fsctl.py/is_directory