i wonder if since these return true are equal we can or the three conditions into one single if