Function of type_is_file command
type_is_file
bool commandIsFile(List args) => expEval(args[0]) is File;