Java Check If Element Is In Array