Added property existence check

The model assumed the table has a field named 'checked_out'. But this might cause an error being thrown trying to access a non-existing property with tables not having this field.
Merge pull request #1 from itbra/patch-13

Added property existence check