Removed is_array function as is present in stdlib