Code snippet below with comments explaining the code.
// The function here is to check whether the two arguments are equivalent or // not empty or not. So