Revised equality based on checkbashisms. Changed func name.