boolean checkMyType(Object object) {
	if (object == null || !(object instanceof MyType[]) || ((MyType[])object).length == 0) return false;
	MyType[] myTypes = (MyType[])object;
	for (int i = 0; i < myTypes.length; i++) {
		if (myTypes[i] == null || 
			myTypes[i].firstName == null || 
			myTypes[i].firstName.length() == 0 ||
			myTypes[i].lastName == null ||
			myTypes[i].lastName.length() == 0) return false;
	}
	return true;
}