bs4.NavigableString.isdecimal

NavigableString.isdecimal() → bool

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