Check stack adopt enable before adopting

If the configuration is disabled, don't start to adopt.

Co-Authored-by: huangtianhua <huangtianhua@huawei.com>
Co-Authored-by: asalkeld <asalkeld@mirantis.com>

Change-Id: Iddb5024971f9f7882c5e46d879439182d2a92124
Closes-Bug: #1396917
Merge "Check stack adopt enable before adopting"