Is there any simple integration for calculating count of points in polygon using QGIS-Python integration? 

In other words, are there any pre-defined functions for points in polygon of QGIS using python, so that we can use them in our python script?