CREATE OR REPLACE FUNCTION isMemberIn
     (the_org IN VARCHAR2, the_country IN VARCHAR2)
 RETURN isMember.Type%TYPE IS
 t isMember.Type%TYPE;
BEGIN
  SELECT org.isMember(the_country) INTO t
  FROM Organization_ObjTab org
  WHERE Abbrev=the_org;
  RETURN t;
END;
/
