Duck types an object by checking if it has a field named fieldName
The object to test
The name of the field to check
Duck types an object by checking if it has a field named fieldName