public static function isXDomainUser($uid)
	{
		$db = \App::get('db');

		$query = 'SELECT uidNumber FROM `#__xdomain_users` WHERE #__xdomain_users.uidNumber=' . $db->quote($uid);

		$db->setQuery($query);

		$result = $db->loadObject();

		if (empty($result))
		{
			return false;
		}

		return true;
	}
public static function isXDomainUser($uid)
	{
		$db = \App::get('db');

		$query = 'SELECT uidNumber FROM `#__xdomain_users` WHERE #__xdomain_users.uidNumber=' . $db->quote($uid);

		$db->setQuery($query);

		$result = $db->loadObject();

		if (empty($result))
		{
			return false;
		}

		return true;
	}
public static function isXDomainUser ( $ uid ) { $ db = \ App :: get ( 'db' ) ; $ query = 'SELECT uidNumber FROM `#__xdomain_users` WHERE #__xdomain_users.uidNumber=' . $ db -> quote ( $ uid ) ; $ db -> setQuery ( $ query ) ; $ result = $ db -> loadObject ( ) ; if ( empty ( $ result ) ) { return false ; } return true ; }
Check if a user has a domain record

@param   integer  $uid
@return  boolean
Check if a user has a domain record