bs4.Comment.isnumeric

Comment.isnumeric() → bool

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