In [48]: x = 'Linux' In [49]: x[0].isupper() Out[49]: True In [51]: x = 'lINUX' In [53]: x[0].isupper() Out[53]: False