human
function to check strngth of password in.
assistant
Here is a Python function to check the length of password in the database

import string

def check_password(password):
    """
    Check if the password is correct.

    :param str password:
    :rtype: bool
    :return:
    """
    if len(password) < 8:
        return False
    return True

# Enter the password
password = "password"

# Calling the function
print((check_password(password)))

#Example Output
# True

#Remember to inspect code for bugs.