You can also try;
from django.contrib.auth.hashers import check_password
def post(request, *args, **kwargs):
check_pass = check_password(new_password, request.user.password)
print('#Check Pass: ', check_pass) ## This will return true or false