code: private MembershipType findMembershipType(Session session, String name) throws Exception
     {
        Node membershipTypeNode;
        try
        {
           membershipTypeNode = utils.getMembershipTypeNode(session, name);
        }
        catch (PathNotFoundException e)
        {
           return null;
        }
  
        MembershipType mt = readMembershipType(membershipTypeNode);
        putInCache(mt);
  
        return mt;
     }
docs: Find membership type.