pymensago/utils.py
def is_valid(self) -> bool:
		'''Returns true if the instance is a valid Mensago user ID'''
		global _illegal_pattern
		if not self.value or _illegal_pattern.search(self.value):
			return False

		return len(self.value) <= 64
Returns true if the instance is a valid Mensago user ID
Returns true if the instance is a valid Mensago user ID
Returns true if the instance is a valid Mensago user ID
def is_valid(self) -> bool:
		global _illegal_pattern
		if not self.value or _illegal_pattern.search(self.value):
			return False
		return len(self.value) <= 64
def is_valid ( self ) -> bool : global _illegal_pattern if not self . value or _illegal_pattern . search ( self . value ) : return False return len ( self . value ) <= 64
Returns true if the instance is a valid Mensago user ID
Returns true if the instance is a valid Mensago user ID
'''Returns true if the instance is a valid Mensago user ID'''
self