Not sure whether the null check is in fact necessary. Checking that it has a length greater than zero though is definitely necessary - results in NULL pointer otherwise when there is no async-supported element