Write a function that takes a username and password and checks the list user_pass_db for a match. The list stores the passwords as a hash using the SHA1 algorithm. Return True for a match and False otherwise.
user_pass_db = [{"username" : "myUsername", "pass_hash" : "5413ee24723bba2c5a6ba2d0196c78b3ee4628d1"}]
check_pass("myUsername", "myPassword") ➞ True
check_pass("myUsername", "wrongPassword") ➞ False
N/A