src/Identity/SocialRecordManager.php
public static function socialRecordExists($globalID)
	{
		if(!GID::isValid($globalID))
		{
			throw new \Exception('Illegal GID format');
		}
		
		try
		{
			$result = GSLS::getSocialRecord($globalID);
		}
		catch (SocialRecordNotFoundException $e)
		{
			return false;
		}
		
		return true;
	}
public static function socialRecordExists($globalID)
	{
		if(!GID::isValid($globalID))
		{
			throw new \Exception('Illegal GID format');
		}
		
		try
		{
			$result = GSLS::getSocialRecord($globalID);
		}
		catch (SocialRecordNotFoundException $e)
		{
			return false;
		}
		
		return true;
	}
public static function socialRecordExists ( $ globalID ) { if ( ! GID :: isValid ( $ globalID ) ) { throw new \ Exception ( 'Illegal GID format' ) ; } try { $ result = GSLS :: getSocialRecord ( $ globalID ) ; } catch ( SocialRecordNotFoundException $ e ) { return false ; } return true ; }
Checks if a SocialRecord is available in the GSLS for a given GID
throws Exception

return true if SocialRecord is available in the GSLS, otherwise false
Checks if a SocialRecord is available in the GSLS for a given GID throws Exception