bs4.Declaration.isnumeric

Declaration.isnumeric() → bool

Return True if there are only numeric characters in S, False otherwise.