Just say I create an addon that is shared with other users and I need to import ember-data.
import DS from 'ember-data';
How can I import this given it might not exist in the client code. Basically I need a condition to check if ember-data is available, if so import it and do something, else don't do it.
if(ember data exists) {
//do something
}