Use modern startswith syntax(Python 2.5+)