Can you simplify this validates method into one line?