Create checkAssociation.m