switched validate::present to use is_empty function.