I am using QGIS 2.8. For the documentation of QgsExpression I see the evaluate method on feature as deprecated. What am i supposed to use instead of this methods ? I have some expression and need to check if expression evaluate to True or False on given feature.
You're looking at the docs for >= 2.12, not 2.8. That's the correct method to use for the QGIS 2.0 series, but in QGIS 3.0 you'll need to use the method which takes a QgsExpressionContext argument. That's only available in QGIS 2.12 and up.