This could be `if obj and arguments.length` instead of using the below `if` wrapper.