This if statement has an or and an and with no logical order better to incase the or in brackets