A simple version of the ls command to replace window's dir command
Check if a given object is null or empty