bs4.Comment.isdecimal

Comment.isdecimal() → bool

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