Merge "Add helper method for checking phone capabilities." into lmp-mr1-dev