What is the process to calculate Mean Bias Error in Python

For a prediction model, i need to calculate Mean Bias Error which will take into consideration the prediction of the developed model in python. I cannot find any in-built function for this feature, can anyone help me into this ?