Add new helper method to accounts manager

A common test is to see if there are configured accounts. A new
method, has_configured_accounts, has been added to cover this case. A
unit test has also been added.