python regex to validate hidden filepath : Is there a way to check whether a given file path is hidden using python regex.

filepath = "/home/ubuntu/.myfile.txt"

if filepath matches with pattern:
     yes it is hidden file
else:
     No