checking if active record is deleted by getter