added functionality to objectreturnvalidator to dynamic determine if machine