be up to vs have what it takes to

be up to

verb
  • To do or be involved in doing; to do (often something mischievous or inappropriate). 

  • To depend on, to be the choice of. 

have what it takes to

How often have the words be up to and have what it takes to occurred in a corpus of books? (source: Google Ngram Viewer )