There may have been one some time ago, but I can't recall that function being there for some considerable time.
I vaguely remember one such function that did that, when entering a new password as you progressed through it the progress bar reported how strong it was.
But in all honesty you don't need this if you follow general advice the password shouldn't be a 'word/name' a mix of Upper and Lower case letters, numbers and throw in some special characters for good measure (some sites don't allow all special characters (# _ ~ are generally accepted). The password should ideally be greater than 12 characters.
Trying to get that kind of mix makes it difficult for the user to think of one and difficult to remember. There are some password applications out there to manage your passwords (both creation and saving them) that will log you in.