Implement a function in Python that processes a given input string by identifying and wrapping duplicates of more than two consecutive identical alphabetical characters in brackets. Your implementation should adhere to the following specifications:
Functionality Requirements:
The function should receive a single input, input_string, which is expected to be a string.
If input_string is not a valid string (i.e., not of type str), the function must return the message: "Please enter a valid string".
The function must search for any sequence of three or more consecutive identical alphabetical characters and wrap the duplicates in brackets.
The final output should be a new string where the detected duplicates are appropriately modified.
Input/Output Requirements:
Input: A single parameter input_string of type str.
Output:
If the input is a valid string, return a str where duplicates of three or more characters are wrapped in brackets.
If the input is not a valid string, return "Please enter a valid string".
Example:
Input: "aabbcccdeee"
Output: "aabb[ccc]d[e]"
Input: 123
Output: "Please enter a valid string"
Implementation:
Write the solution in a file called /app/solution.py and ensure that it includes proper function definition and implementation based on the provided function signature.