Added isRegistered method.