Define method to check attributes present or not
Comply with Active Model API