### What changes were proposed in this pull request?
Fix the condition of `StoragePolicy` that worker uses memory storage
### Why are the changes needed?
The condition of `StoragePolicy` that worker uses memory storage is `order.contains(StorageInfo.Type.MEMORY.name())`, which condition is wrong because `Option#contains` is as follows:
```
final def contains[A1 >: A](elem: A1): Boolean = !isEmpty && this.get == elem
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI.
Closes#3408 from SteNicholas/CELEBORN-1844.
Authored-by: SteNicholas <programgeek@163.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>